#include <iostream>

int main(int argc, char const *argv[])
{
    using namespace std;

    string str1 = string("aby");
    string str2 = string("abz");

    cout << (str1 < str2) << endl;

    int a = str1.compare(str2);
    cout << a << endl;

    return 0;
}
